<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <link th:replace="fragment/icon::icon"/>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<header th:fragment="copyright">
    &copy; 2022-<span id="year"></span> okok版权所有
    <script>
        document.getElementById('year').innerText = new Date().getFullYear()+'';
    </script>
</header>
</body>
</html>